package org.mozhu.mboot.core.web.sitemesh;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(SiteMeshProperties.PREFIX)
public class SiteMeshProperties {
    public static final String PREFIX = "sitemesh";

    private boolean enabled = false;

    private String configFile = "classpath:sitemesh3.xml";

    private String urlPatterns = "/*";

    private String excludeUrlPatterns = "/**/*.js,/**/*.css,/**/*.jpg,/**/*.png,/**/*.gif,/**/*.ico";

    private String viewResolver = "viewResolver";

    private String decoratorPaths = "{\"default\":\"layout/layout\"}";

}
